/*
 * Formulation1.h
 *
 *  Created on: 11/09/2014
 *      Author: santosma
 */

#ifndef FORMULATION1_H_
#define FORMULATION1_H_

#include "Solver.h"
#include "../tools/Graph.h"
#include <ilcplex/cplex.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>

class Formulation1: public Solver {
protected:
	CPXENVptr env;

	CPXLPptr lp;

	double innersolver();

	void createIntVar(double obj);

	void addEdgeRestriction(int i);

	void addSetRestriction(int i);
public:
	Formulation1 (Graph* g);

	virtual ~Formulation1();
};

#endif /* FORMULATION1_H_ */
